From 794f2815de159c27e97d86d70f834636565a5b89 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Thu, 25 Jun 2009 16:57:13 +0200 Subject: [PATCH] Fix g_signal_emit calls The switch to g_signal_emit was all messed up, I forgot to add signals[] around the signal enum and did not pass in the detail quark. --- gdk/gdkwindow.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index b35c1b9a75..aa10712621 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -7874,7 +7874,7 @@ from_parent (GdkWindowObject *window, double *offscreen_x, double *offscreen_y) { g_signal_emit (window, - FROM_PARENT, + signals[FROM_PARENT], 0, parent_x, parent_y, offscreen_x, offscreen_y, NULL); @@ -7979,7 +7979,7 @@ pick_offscreen_child (GdkWindowObject *window, res = NULL; g_signal_emit (window, - PICK_OFFSCREEN_CHILD, + signals[PICK_OFFSCREEN_CHILD], 0, x, y, &res); return res; @@ -8602,7 +8602,7 @@ gdk_window_get_offscreen_parent (GdkWindow *window) res = NULL; g_signal_emit (private->impl_window, - GET_OFFSCREEN_PARENT, + signals[GET_OFFSCREEN_PARENT], 0, &res); return res; -- 2.30.2